﻿<%@ Page Language="C#" MasterPageFile="~/RiskItemMaster.master" AutoEventWireup="true" CodeFile="GetRiskItem.aspx.cs" Inherits="GetRiskItem" %>

<asp:Content ID="RiskContent" ContentPlaceHolderID="RiskContentHolder" runat="server">
    <center>
    <asp:GridView ID="GVRiskItem" runat="server" AutoGenerateColumns="False" 
        CellPadding="4" ForeColor="#333333" GridLines="None" 
            onrowdatabound="GVRiskItem_RowDataBound">
        <RowStyle BackColor="#EFF3FB" CssClass="ItemPage"/>
        <Columns>
            <asp:BoundField DataField="No" HeaderText="No" 
                ItemStyle-HorizontalAlign="Right">
<ItemStyle HorizontalAlign="Right"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="Item" HeaderText="主题" 
                ItemStyle-HorizontalAlign="Left" ItemStyle-Width="400px" ItemStyle-Wrap="true">
<ItemStyle HorizontalAlign="Left" Wrap="True" Width="400px"></ItemStyle>
            </asp:BoundField>
            <asp:BoundField DataField="TotalViewTimes" HeaderText="点击次数" 
                ItemStyle-HorizontalAlign="Right">
<ItemStyle HorizontalAlign="Right"></ItemStyle>
            </asp:BoundField>
        </Columns>
        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
        <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
        <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
        <EditRowStyle BackColor="#2461BF" />
        <AlternatingRowStyle BackColor="White" />
    </asp:GridView>
    <asp:AccessDataSource ID="GetRiskItemDS" runat="server" 
            DataFile="~/App_Data/RiskManage.mdb" 
            SelectCommand="SELECT [Item] FROM [DataList] WHERE ([ChapterNo] = ?)">
            <SelectParameters>
                <asp:QueryStringParameter Name="ChapterNo" QueryStringField="ChapterNo" Type="Int32" DefaultValue="-1"/>
            </SelectParameters>
        </asp:AccessDataSource>
</center>
</asp:Content>
